package com.doubtech.ahome.widgets.openclock;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

public class MainActivity extends Activity implements AHomeWidgetProvider {
	public static final String LOG_TAG = "aHome: Open Clock Widget";
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

	public View createAHomeWidgetView(Context context) {
		LayoutInflater inflater = LayoutInflater.from(context);
		return inflater.inflate(R.layout.widget_openclock, null);
    }

	public int getAHomeWidgetHeight() {
	    return 2;
    }

	public int getAHomeWidgetWidth() {
	    return 2;
    }
}